
                                                            
      DCF77:  How to check the receiver state
      


 You can check the receiver state by using the public semaphore "DCF77 State". 


 struct DCF77StateList
 {
    struct SignalSemaphore sl_Semaphore; // the Semaphore "DCF77 State"
    STRPTR Version; // Pointer to DCF77 version number
    BOOL Received;  // FALSE: no DCF77 time | TRUE: system clock was set by DCF77.

    // The values below are introduced with DCF77 version 2.18:
    LONG ReceiverState; // 0 - No signal. 1 - Receiving disturbance.
                        // 2 - Wait for synchronization. 3 - Receiving.
                        // 4 - Program inactive.
    LONG TimeLeft;  // expected time left [s] to finish off
    LONG LastError; // not yet implemented
 };


 The source code of the shell commands in this drawer contains example code for
 the check of the DCF77 receiver state. WaitDCF77ifCrash uses all possible
 functions.

